<fieldset>
	<div class="productsinstance form">
	<?php echo $this->Form->create('Productsinstance'); ?>
	<h2>Edit product used</h2>
	<table class="inlineTable">
		<?php echo $this->Form->hidden('id', array('value' => $productsinstance['Productsinstance']['id'])); ?>
   		<tr>
			<td class="heading"><?php echo __('Date'); ?></td>
			<td class="data"><?php echo $productsinstance['Productsinstance']['doc']; ?></td>
	    </tr>
	    <tr>
			<td class="heading"><?php echo __('Brand'); ?></td>
			<td class="data"><?php echo $productsinstance['Brands']['name']; ?></td>
	    </tr>
	    <tr>
			<td class="heading"><?php echo __('Range'); ?></td>
			<td class="data"><?php echo $productsinstance['Ranges']['name']; ?></td>
	    </tr>
	    <tr>
			<td class="heading"><?php echo __('Categories'); ?></td>
			<td class="data"><?php echo $productsinstance['Categories']['name']; ?></td>
	    </tr>
	    <tr>
			<td class="heading"><?php echo __('Item'); ?></td>
			<td class="data"><?php echo $productsinstance['Product']['description']; ?></td>
	    </tr>
	    <tr>
			<td class="heading"><?php echo __('Number Removed'); ?></td>
			<td class="data"><?php echo $this->Form->input('number_removed', array('label' => '', 'value' => $productsinstance['Productsinstance']['number_removed'])); ?></td>
	    </tr>
	    <tr>
			<td class="heading"><?php echo __('Removal Reason'); ?></td>
			<td class="data"><?php echo $this->Form->input('removalReasons_id', array('label' => '', 'options' => $removalreasons, 'value' => $productsinstance['Productsinstance']['removalReasons_id'])); ?></td>
	    </tr>
	</table>
	<br />
	<div class="newsubmit">
	<?php echo $this->Form->submit(__('Save', true), array('formnovalidate' => true, 'div' => false, 'class' => 'btn btn-success')); ?>
	<ul><li><?php echo $this->Html->link(__('Back'), array('action' => 'index')); ?></li></ul></div>
	</div>
</fieldset>